// vite.config.js
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [
    vue({
      template: {
        compilerOptions: {
          isCustomElement: (tag) => tag.startsWith('swiper-')
        }
      }
    })
  ],
  optimizeDeps: {
    include: ['vue', 'axios'],
    exclude: ['vue-demi']
  },
  server: {
    host: '0.0.0.0',
    port: 3000
  }
})